<template>
	<view class="no-data">
		<image class="no-data-img" src="/static/default/none.png" />
		<view class="no-data-text">{{ text }}</view>
	</view>
</template>

<script>
	export default {
		props: {
			text: {
				type: String,
				default: '暂无数据～'
			}
		},
		data() {
			return {

			}
		}
	}
</script>

<style lang="scss" scoped>
.no-data {
	display: flex;
	flex-direction: column;
	align-items: center;
	.no-data-img {
		width: 474rpx;
		height: 300rpx;
	}
	.no-data-text {
		padding-top: 20rpx;
		color: #333;
		font-size: 34rpx;
	}
}
</style>
